 ///
 /// @file    testMylog.cc
 /// @author  lemon(haohb13@gmail.com)
 /// @date    2016-03-04 10:04:04
 ///
 
#define _MYLOG4CPP_

#include "Mylog.h"
#include <iostream>
#include <string>
#include <sstream>

using std::cout;
using std::endl;
using std::string;



int main(void)
{
	//Mylog * plog = Mylog::getInstance();
#if 0
	plog->fatal("sytem core dump");
	plog->error("system error");
	plog->info("system info");
	plog->debug("system debug");
#endif

	cout << __FILE__ << endl;
	cout << __LINE__ << endl;
	cout << __func__ << endl;
	cout << endl;

	cout << "hello,""word" << endl;

	LOG_FATAL("sytem core dump");
	LOG_ERROR("system error");
	LOG_INFO("system info");
	LOG_DEBUG("system debug");

	return 0;
}
